<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>个人信息</title>
    <%@include file="/WEB-INF/views/commons/commons.jsp" %>

    <script src="/static/js/system/personalMessage.js"></script>
</head>
<body>
<div class="easyui-panel"
     style=" color:whitesmoke; width:1120px;padding:60px 60px;background-image:url(/static/images/timg4.jpg);background-size: cover">
    <div>头像</div>
    <form id="personMsg" method="post" enctype="multipart/form-data">
        <p>
        <div>
            <img src="${employee.imagePath}" width="100px" style="left: auto">
        </div>
         <input type="file" name="pic" />
        </p>
        <input class="easyui-textbox" name="id" type="hidden" data-options="value:'${employee.id}'">
        <input class="easyui-textbox" name="admin" type="hidden" data-options="value:'${employee.admin}'">
        <input class="easyui-textbox" name="state" type="hidden" data-options="value:'${employee.state}'">

        <div style="margin-bottom:20px">
            <div>昵称:</div>
            <input class="easyui-textbox" name="username" readonly="readonly"
                   data-options="value:'${employee.username}'" style="width:13%;height:32px">
        </div>
        <div style="margin-bottom:20px">
            <div>姓名:</div>
            <input class="easyui-textbox" name="realname" data-options="value:'${employee.realname}'"
                   style="width:15%;height:32px">
        </div>
        <div style="margin-bottom:20px">
            <div>电话:</div>
            <input class="easyui-textbox" name="tel" data-options="value:'${employee.tel}'"
                   style="width:17%;height:32px">
        </div>
        <div style="margin-bottom:20px">
            <div>邮箱:</div>
            <input class="easyui-textbox" name="email"
                   data-options="prompt:'email地址',validType:'email',value:'${employee.email}'"
                   style="width:19%;height:32px">
        </div>
    </form>

    <div>
        <a href="#" id="go" class="easyui-linkbutton" iconCls="icon-ok" style="width:10%;height:32px" onclick="save()">确定保存</a>
    </div>
</div>
</body>


</html>
